package com.ruoyi.am.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安卓版本对象 am_version
 * 
 * @author hkkk
 * @date 2021-01-06
 */
public class AmVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long versionId;

    /** 版本号 */
    @Excel(name = "版本号")
    private Long amVersion;

    /** 版本代码 */
    @Excel(name = "版本代码")
    private String amVersionCode;

    /** 是否必须 */
    @Excel(name = "是否必须")
    private Integer isMust;

    /** 备注 */
    @Excel(name = "备注")
    private String mark;

    /** 地址 */
    @Excel(name = "地址")
    private String url;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setVersionId(Long versionId) 
    {
        this.versionId = versionId;
    }

    public Long getVersionId() 
    {
        return versionId;
    }
    public void setAmVersion(Long amVersion) 
    {
        this.amVersion = amVersion;
    }

    public Long getAmVersion() 
    {
        return amVersion;
    }
    public void setAmVersionCode(String amVersionCode) 
    {
        this.amVersionCode = amVersionCode;
    }

    public String getAmVersionCode() 
    {
        return amVersionCode;
    }
    public void setIsMust(Integer isMust) 
    {
        this.isMust = isMust;
    }

    public Integer getIsMust() 
    {
        return isMust;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("versionId", getVersionId())
            .append("amVersion", getAmVersion())
            .append("amVersionCode", getAmVersionCode())
            .append("isMust", getIsMust())
            .append("mark", getMark())
            .append("url", getUrl())
            .append("status", getStatus())
            .toString();
    }
}
